package com.syzg.base.role.service;

import java.util.List;
import com.syzg.common.service.BaseService;
import com.syzg.core.exception.ServiceException;
import com.syzg.base.merge.model.Role;

public interface RoleService extends BaseService<Role> {
	public abstract void createRole(Role role, String along[]) throws ServiceException;

    public abstract void updateRole(Role role, String along[]) throws ServiceException;

	public abstract List<Role> findRoles() throws ServiceException;

    public abstract List<Role> findRolesByPerson(String personId) throws ServiceException;

    public abstract void deleteRole(String along[]) throws ServiceException;

    public abstract String[] findRoleIdsByPersonId(String long1) throws ServiceException;
}
